<?php
/**
Template Name: login
*/

// using
use \hpnWse\nWp\stBase as stWpBase;


$l_InitActv = \hpnWse\stObjUtil::cFchPpty($_GET, 'tab', 'login');

?>

<?php get_header(); ?>

<!-- 呈现目标 -->
<div id="k_PrstTgt" class="mi_Login mi_HomeBkgd">
</div>

<!-- 呈现来源 -->
<div id="k_PrstSrc">

<div id="k_RootPutSrc" class="cnWse_PutSrc"
	data-wse_use_prst_tgt="true"
>
	<form class="cnWse_PutSrc mi_Pstn_Cen" data-wse_bld_wgt="tForm"
		data-wse_cmd_sbmt="sbmt"
	>
		<div class="cnWse_PutSrc" data-wse_bld_wgt="tTabs"
			data-wse_init_actv="<?php echo $l_InitActv ?>"
			data-wse_evt_cmd="i_Actv=chg_tab"
		>
			
			<div class="cnWse_Heads">
				<label class="cnWse_Head">登录</label>
				<label class="cnWse_Head">注册</label>
			</div>

			<div class="cnWse_Bodys">
				<div class="cnWse_Body cnWse_PutSrc" data-wse_bld_wgt="" data-wse_name="login"
				>
					<div class="cnWse_PutSrc" data-wse_bld_wgt="tFfld"
						data-wse_name="Fld_username" data-wse_bind_mdl="login.username"
						data-wse_fdbk="true"
					>
						<div class="cnWse_LabIpt cnWse_FlexCtanr">
							<!-- <label class="cnWse_Lab mi_PadTp">用 户 名</label> -->
							<span class="cnWse_PutSrc cnWse_FlexElmt" data-wse_bld_wgt="tEditBox"
								data-wse_type_ent_next_step="true"
								data-wse_plchd="用户名/邮箱">
							</span>
						</div>
					</div>

					<div class="cnWse_PutSrc" data-wse_bld_wgt="tFfld"
						data-wse_name="Fld_password" data-wse_bind_mdl="login.password"
						data-wse_fdbk="true"
					>
						<div class="cnWse_LabIpt cnWse_FlexCtanr">
							<span class="cnWse_PutSrc cnWse_FlexElmt" data-wse_bld_wgt="tEditBox"
								data-wse_type_ent_next_step="true"
							>
								<input type="password" autocomplete="new-password" placeholder="密码">
							</span>
						</div>
					</div>
				</div>

				<div class="cnWse_Body cnWse_PutSrc" data-wse_bld_wgt="" data-wse_name="signup"
				>
					<div class="cnWse_PutSrc" data-wse_bld_wgt="tFfld"
						data-wse_name="Fld_username" data-wse_bind_mdl="signup.username"
						data-wse_fdbk="true"
					>
						<div class="cnWse_LabIpt cnWse_FlexCtanr">
							<!-- <label class="cnWse_Lab mi_PadTp">用 户 名</label> -->
							<span class="cnWse_PutSrc cnWse_FlexElmt" data-wse_bld_wgt="tEditBox"
								data-wse_type_ent_next_step="true"
								data-wse_plchd="用户名（2 - 20 个字符）">
							</span>
						</div>
					</div>

					<div class="cnWse_PutSrc" data-wse_bld_wgt="tFfld"
						data-wse_name="Fld_email" data-wse_bind_mdl="signup.email"
						data-wse_fdbk="true"
					>
						<div class="cnWse_LabIpt cnWse_FlexCtanr">
							<!-- <label class="cnWse_Lab mi_PadTp">用 户 名</label> -->
							<span class="cnWse_PutSrc cnWse_FlexElmt" data-wse_bld_wgt="tEditBox"
								data-wse_type_ent_next_step="true"
								data-wse_plchd="邮箱">
							</span>
						</div>
					</div>

					<div class="cnWse_PutSrc" data-wse_bld_wgt="tFfld"
						data-wse_name="Fld_password" data-wse_bind_mdl="signup.password"
						data-wse_fdbk="true"
					>
						<div class="cnWse_LabIpt cnWse_FlexCtanr">
							<span class="cnWse_PutSrc cnWse_FlexElmt" data-wse_bld_wgt="tEditBox"
								data-wse_type_ent_next_step="true"
							>
								<input type="password" autocomplete="new-password" placeholder="密码（8 - 20 个字符）">
							</span>
						</div>
					</div>

					<div class="cnWse_PutSrc" data-wse_bld_wgt="tFfld"
						data-wse_name="Fld_password2" data-wse_bind_mdl="signup.password2"
						data-wse_fdbk="true"
					>
						<div class="cnWse_LabIpt cnWse_FlexCtanr">
							<span class="cnWse_PutSrc cnWse_FlexElmt" data-wse_bld_wgt="tEditBox"
								data-wse_type_ent_next_step="true"
							>
								<input type="password" autocomplete="new-password" placeholder="确认密码">
							</span>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div class="cnWse_PutSrc" data-wse_bld_wgt="tFfld" 
			data-wse_name="Fld_captcha" data-wse_bind_mdl="captcha"
			data-wse_init_prmr_sta0="i_Lea"
		>
			<div class="cnWse_LabIpt cnWse_FlexCtanr">
				<label class="cnWse_Lab">验证码</label>
				<div class="cnWse_PutSrc cnWse_FlexElmt" data-wse_bld_wgt="tTextCaptcha"
					data-wse_mode="i_TextImg"
					data-wse_api_url="<?php echo \hpnApp\fMakeApiUrl(null, 'image_captcha') ?>" 
					data-wse_type_ent_next_step="true"
				>
				</div>
			</div>
		</div>


		<div class="mi_SbmtDiv">
			<span class="cnWse_PutSrc" data-wse_bld_wgt="tBtn" data-wse_wse_name="submit"
				data-wse_evt_cmd="i_Clk=sbmt" data-wse_tit="提 交"
			>
			</span>
		</div>
	</form>
</div>

</div>

<script type="text/javascript" src="<?php echo site_url() . '/js/Cmn.js' ?>"></script>
<script type="text/javascript" src="<?php echo site_url() . '/js/login.js' ?>"></script>

<?php get_footer();
